const getters = {
  sidebar: state => state.common.sidebar,
  isLoading: state => state.common.isLoading,
  token: state => state.user.token,
  tokenKey: state => state.user.tokenKey,
  info: state => state.user.info,
  roleList: state => state.user.roleList,
  role: state => state.user.role,
  teamList: state => state.user.teamList,
  curTeam: state => state.user.curTeam,
  curBusiness: state => state.user.curBusiness,
  appList: state => state.user.appList,
  shopTypeList: state => state.user.shopTypeList,
  isInvalid: state => state.user.isInvalid,
  routerPosition: state => state.user.routerPosition,
  terminalCode: state => state.user.terminalCode,
  permission_routes: state => state.menu.routes,
  menuData: state => state.menu.menuData,
  mkallData: state => state.menu.mkallData,
  allRoutes: state => state.menu.allRoutes,
  defaultPath: state => state.menu.defaultPath,
  defaultparenId: state => state.menu.defaultparenId,
  errorLogs: state => state.errorLog.logs
}
export default getters
